package org.jxkj.util

import java.util.Properties

object PropertiesUtils {

  def initial(fileName:String): Properties={
    val in = this.getClass.getClassLoader.getResourceAsStream(fileName)
    val properties = new Properties()
    properties.load(in)
    return properties
  }

  def getProperty(key:String, properties:Properties):String={
    return properties.getProperty(key)
  }

}
